package com.situ.orderingsystem.dao;

import com.situ.orderingsystem.model.Employee;
import com.situ.orderingsystem.model.EmployeeSerchBean;
import com.situ.orderingsystem.model.Food;
import com.situ.orderingsystem.model.FoodSearchBean;
import com.situ.orderingsystem.utils.PaginateInfo;

import java.util.List;

public interface FoodDao {
    List<Food> findAll(FoodSearchBean es, PaginateInfo pi);
    List<Food> findAll();
    List<Food> findCombo();
    boolean deleteById(Integer id);
    int add(Food food);
    Food searchById(Integer id);
    int update(Food food);
}
